//author: create by SunJH
//时间: 2021/12/2 0002
//邮箱: 965989158@qq.com
//描述: 侧滑删除的控制器

import 'package:flutter_app/mod/version_info.dart';
import 'package:get/get.dart';

class SlidableController extends GetxController{
  var versionInfo = VersionInfo().obs;

  @override
  void onInit() {
    super.onInit();
    versionInfo.update((val) {
      val?.downloadUrl = "";
    });
    versionInfo.value.downloadUrl = "";
  }

  var datas = [
    1,2,3,4,5,6,7,8,9,10
  ].obs;
  removeData(int data){
    datas.remove(data);
  }
}